Articles by Authorised Territory

Send metric and trace data to .NET Aspire dashboard from Windows Forms app

First, we start a docker container of the #dotnet aspire image and map ports. Next, windows forms app is created. A new meter and trace source is added. #opentelemetry is added to the app and exporter setup. Requiered environment variables are created. Finally, the dashboard and the app are displayed together showing metric/trace data appearing in the dashboard.